window.addEventListener('load', function(){

	// całość
	var login = document.getElementById('login');
	var haslo = document.getElementById('pass');
	
	login.onfocus = function(){
		if(this.value=="Login"){
			this.value="";
		}
	}
	
	login.onblur = function(){
		if(this.value == ""){
			this.value = "Login";
		}
	}
	
	haslo.onfocus = function(){
		if(this.value == "Pass"){
			this.value="";
		}
	}
	
}, false)